package com.example.demo.auto.entity;

import com.beiding.businessplatform.data.Be;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.List;

@Entity(name = "A")
@Getter
@Setter
public class ABe implements Be {

    @Id
    private String id;

    private String name;

    @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
    private List<BBe> bs;


}
